CallGraph
DotWriter Class Reference

Class write data from lineparser structure to dot language. More...

#include <dotwriter.h>

Collaboration diagram for DotWriter:

List of all members.

Public Member Functions

 DotWriter ()
 Defautl constructor.
 ~DotWriter ()
 Defautl destructor.
void setLineParser (LineParserList *pLines)
 Function setup object DotWriter and assign the pointer pLines.
void setDotWriterFromDialogSettings (IManager *mgr)
 Function setup object DotWriter from stored configuration data.
void WriteToDotLanguade ()
 Function create data in the DOT language and prepare it to write.
void SendToDotAppOutputDirectory (wxString path)
 Function write data in the DOT language to file dot.txt.
bool DotFileExist (wxString path)
 Function return bool value if the file in the DOT language is exist.
wxString OptionsShortNameAndParameters (wxString name)
 Function return string modified by the options in the dialog settings of the plugin.
wxString DefineColorForNodeEdge (int index)
 Function return string of color by the index value.
wxString DefineColorForLabel (int index)
 Function return string of color by the index value.
bool IsInArray (int index, wxArrayInt array)
 Function return bool value if index is exist in the array.
int ReturnIndexForColor (float time, int dwc)
 Function return optimal index for color by the value time and options in the dialog settings of the plugin.

Protected Attributes

ConfCallGraph confData
 Object confData type ConfCallGraph with stored configuration data.
IManager * m_mgr
 Pointer m_mgr type of IManager.

Detailed Description

Class write data from lineparser structure to dot language.

Definition at line 25 of file dotwriter.h.


Constructor & Destructor Documentation

Defautl constructor.

Definition at line 9 of file dotwriter.cpp.

Defautl destructor.

Definition at line 35 of file dotwriter.cpp.


Member Function Documentation

wxString DotWriter::DefineColorForLabel ( int  index)

Function return string of color by the index value.

Parameters:
indexof the color, this value return function ReturnIndexForColor.

Definition at line 328 of file dotwriter.cpp.

wxString DotWriter::DefineColorForNodeEdge ( int  index)

Function return string of color by the index value.

Parameters:
indexof the color, this value return function ReturnIndexForColor.

Definition at line 312 of file dotwriter.cpp.

bool DotWriter::DotFileExist ( wxString  path)

Function return bool value if the file in the DOT language is exist.

Parameters:
pathfor file where is file with DOT language placed.

Definition at line 190 of file dotwriter.cpp.

bool DotWriter::IsInArray ( int  index,
wxArrayInt  array 
)

Function return bool value if index is exist in the array.

Parameters:
indexof the function stored in the list of objects.
arrayof index by nodes added to the call graph.

Definition at line 318 of file dotwriter.cpp.

wxString DotWriter::OptionsShortNameAndParameters ( wxString  name)

Function return string modified by the options in the dialog settings of the plugin.

Parameters:
nameof the function stored in the list of objects.

Definition at line 199 of file dotwriter.cpp.

int DotWriter::ReturnIndexForColor ( float  time,
int  dwc 
)

Function return optimal index for color by the value time and options in the dialog settings of the plugin.

Parameters:
timeof the function stored in the list of objects.
dwcis value from dialog settings node level colors

Definition at line 233 of file dotwriter.cpp.

void DotWriter::SendToDotAppOutputDirectory ( wxString  path)

Function write data in the DOT language to file dot.txt.

Parameters:
pathfor file where write file with DOT language.

Definition at line 163 of file dotwriter.cpp.

Function setup object DotWriter from stored configuration data.

Parameters:
mgr

Definition at line 45 of file dotwriter.cpp.

Here is the call graph for this function:

void DotWriter::setLineParser ( LineParserList *  pLines)

Function setup object DotWriter and assign the pointer pLines.

Parameters:
pLines

Definition at line 40 of file dotwriter.cpp.

Function create data in the DOT language and prepare it to write.

Definition at line 58 of file dotwriter.cpp.

Here is the call graph for this function:


Member Data Documentation

Object confData type ConfCallGraph with stored configuration data.

Definition at line 46 of file dotwriter.h.

IManager* DotWriter::m_mgr [protected]

Pointer m_mgr type of IManager.

Definition at line 50 of file dotwriter.h.


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables